package scheduler.devices;

import java.util.Observable;
import java.util.Observer;

import scheduler.services.Code;

public class CPU implements Observer {
	
	public void update(Observable o, Object arg) {
		
		switch ((Code)arg) {
		case SystemTimer : {
			break;
		}
		case IOInterrupt : {
			break;
		}
		case Exception : {
			break;
		}
		default : {
			throw new IllegalArgumentException("Illegal state.");
		}
		}
	}
}
